#pragma once

#include "WVWMap.h"
#include <time.h>

namespace Gw2API{

	typedef struct{
		std::string match_id;
		int scores[3];
		WVWMap maps[4];
	} match_details;


	class WVWMatch
	{
	public:
		WVWMatch(std::string *match_id=0, int red_id=0, int green_id=0, int blue_id=0, std::string *start=0, std::string *end=0);
		~WVWMatch(void);

		std::string* getMatchId(){return &match_id;}
		int getRedId(){return red_id;}
		int getBlueId(){return blue_id;}
		int getGreenId(){return green_id;}
		time_t* getStartTime(){return &start;}
		time_t* getEndTime(){return &end;}
		

	private:
		std::string match_id;
		int red_id, blue_id, green_id;
		WVWMap maps[4];
		time_t start, end;
	};

};